#!/bin/bash

PNAME=${1:-'com.supreme'}

PIDS=`jps -l | grep "$PNAME" | awk '{print $1}'`
echo "$PIDS"

kill -9 "$PIDS"